/**
 * 
 */
package com.gs.practice.thread.javathreads.ch02;

/**
 * @author Sabuj Das | sabuj.das@gmail.com
 *
 */
public class CharacterEvent {

	private CharacterSource source;
	private int character;
	
	/**
	 * @param source
	 * @param character
	 */
	public CharacterEvent(CharacterSource source, int character) {
		this.source = source;
		this.character = character;
	}

	/**
	 * @return the source
	 */
	public CharacterSource getSource() {
		return source;
	}

	/**
	 * @param source the source to set
	 */
	public void setSource(CharacterSource source) {
		this.source = source;
	}

	/**
	 * @return the character
	 */
	public int getCharacter() {
		return character;
	}

	/**
	 * @param character the character to set
	 */
	public void setCharacter(int character) {
		this.character = character;
	}
	
	
	
}
